<template>
  <div class="app-container">
    <el-form :inline="true" class="demo-form-inline">
      <el-form-item label="参数名称">
        <el-input v-model="listQuery.parameterName" />
      </el-form-item>

      <el-form-item label="参数KEY">
        <el-input v-model="listQuery.parameterKey" />
      </el-form-item>

      <el-form-item label="参数VALUE">
        <el-input v-model="listQuery.parameterValue" />
      </el-form-item>

      <el-form-item label="是否启用">
        <el-select placeholder="请选择" clearable></el-select>
      </el-form-item>
      <el-button type="primary" @click="getList()">搜索</el-button>
      <el-button type="primary" @click="getadd()">新增</el-button>
    </el-form>

    <mytable :data="list" ref="table">
      <el-table-column prop="parameterName" align="center" label="参数名称"></el-table-column>
      <el-table-column prop="parameterKey" align="center" label="参数KEY"></el-table-column>
      <el-table-column prop="parameterValue" align="center" label="参数VALUE"></el-table-column>
      <el-table-column prop="remark" align="center" label="说明"></el-table-column>
      <el-table-column prop="createUserName" align="center" label="创建用户"></el-table-column>
      <el-table-column prop="updateTimeStr" align="center" label="更新时间"></el-table-column>
      <el-table-column  align="center" label="禁/启用"></el-table-column>
      <el-table-column prop="createTime" align="center" label="操作">
        <el-button type="text" @click="openEdit(scope.row)">修改</el-button>
      </el-table-column>
    </mytable>
  </div>
</template>

<script>
import mytable from "@/components/Table";
import apisystemdeploy from "@/api/baseManager/systemdeploy";
export default {
  name: "param",
  components: { mytable },
  data() {
    return {
      list: [],
      listQuery: {
        parameterName: "",
        parameterKey: "",
        parameterValue: "",
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    getList() {
      this.data = apisystemdeploy.getSysDataList();
      this.list = data
    },
    //新增
    getadd() {

    }
  }
};
</script>

<style scoped>
</style>